<template>
  <div class="card-wrapper">
    <h3>标题</h3>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.card-wrapper {
  width: 300px;
  height: 400px;
  box-shadow: 0 0 6px gray;
  animation: flip .5s linear 1 alternate-reverse;
  h3 {
    margin: 0;
    padding: 0.5em;
    text-align: center;
    border-bottom: 1px solid gray;
  }
}
@keyframes flip {
  to {
    transform: rotateY(-60deg);
  }
}
</style>